//
//  AES.h
//  iAccountBook
//
//  Created by 侯伟 on 2020/3/23.
//  Copyright © 2020 侯伟. All rights reserved.
//  对称加密

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface AES : NSObject

/// 加密
/// @param sourceStr 加密内容
/// @param key 加密密匙
+ (NSString *)EncryptString:(NSString *)sourceStr key:(NSString*)key vector:(NSString*)vector;
 
/// 解密
/// @param secretStr 解密内容
/// @param key 解密密匙
+ (NSString *)DecryptString:(NSString *)secretStr key:(NSString*)key vector:(NSString*)vector;

@end

NS_ASSUME_NONNULL_END
